package org.edu.modules.center.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

@TableName("ve_study_student_homework")
@ApiModel(value="ve_study_student_homework对象", description="学生提交作业")
public class VeStudyStudentHomework
        implements Serializable
{
    private static final long serialVersionUID = 1L;
    @TableId(type=IdType.AUTO)
    @ApiModelProperty("主键、自动增长")
    private Integer id;
    @ApiModelProperty("节点id")
    private Integer nodeid;
    @ApiModelProperty("教学ID")
    private Integer tcid;
    @ApiModelProperty("作业id")
    private Integer homeworkid;
    @ApiModelProperty("学生id")
    private Integer studentid;
    @ApiModelProperty("学生名称")
    private String studentname;
    @ApiModelProperty("学生用户名")
    private String studentaccount;
    @ApiModelProperty("交作业的时间")
    private Integer createtime;
    @ApiModelProperty("学生提交附件id")
    private Integer fileid;
    @ApiModelProperty("分数")
    private Integer score;
    @ApiModelProperty("状态（0=待批阅，1=已批阅）")
    private Integer status;
    @ApiModelProperty("批阅教师提交附件id")
    private Integer verifyfileid;
    @ApiModelProperty("批阅教师提交时间")
    private Integer verifytime;
    @ApiModelProperty("批阅教师用户ID")
    private Integer verifyuserid;
    @ApiModelProperty("批阅教师用户姓名")
    private String verifyusername;
    @ApiModelProperty("终端ID")
    private Integer terminalid;
    @ApiModelProperty("评语")
    private String remark;
    @ApiModelProperty("多租户id")
    private Integer placeId;

    public VeStudyStudentHomework setTcid(Integer tcid)
    {
        this.tcid = tcid;return this;
    }

    public VeStudyStudentHomework setNodeid(Integer nodeid)
    {
        this.nodeid = nodeid;return this;
    }

    public VeStudyStudentHomework setId(Integer id)
    {
        this.id = id;return this;
    }

    public String toString()
    {
        return "VeStudyStudentHomework(id=" + getId() + ", nodeid=" + getNodeid() + ", tcid=" + getTcid() + ", homeworkid=" + getHomeworkid() + ", studentid=" + getStudentid() + ", studentname=" + getStudentname() + ", studentaccount=" + getStudentaccount() + ", createtime=" + getCreatetime() + ", fileid=" + getFileid() + ", score=" + getScore() + ", status=" + getStatus() + ", verifyfileid=" + getVerifyfileid() + ", verifytime=" + getVerifytime() + ", verifyuserid=" + getVerifyuserid() + ", verifyusername=" + getVerifyusername() + ", terminalid=" + getTerminalid() + ", remark=" + getRemark() + ", placeId=" + getPlaceId() + ")";
    }

    public VeStudyStudentHomework setPlaceId(Integer placeId)
    {
        this.placeId = placeId;return this;
    }

    public VeStudyStudentHomework setRemark(String remark)
    {
        this.remark = remark;return this;
    }

    public VeStudyStudentHomework setTerminalid(Integer terminalid)
    {
        this.terminalid = terminalid;return this;
    }

    public VeStudyStudentHomework setVerifyusername(String verifyusername)
    {
        this.verifyusername = verifyusername;return this;
    }

    public VeStudyStudentHomework setVerifyuserid(Integer verifyuserid)
    {
        this.verifyuserid = verifyuserid;return this;
    }

    public VeStudyStudentHomework setVerifytime(Integer verifytime)
    {
        this.verifytime = verifytime;return this;
    }

    public VeStudyStudentHomework setVerifyfileid(Integer verifyfileid)
    {
        this.verifyfileid = verifyfileid;return this;
    }

    public VeStudyStudentHomework setStatus(Integer status)
    {
        this.status = status;return this;
    }

    public VeStudyStudentHomework setScore(Integer score)
    {
        this.score = score;return this;
    }

    public VeStudyStudentHomework setFileid(Integer fileid)
    {
        this.fileid = fileid;return this;
    }

    public VeStudyStudentHomework setCreatetime(Integer createtime)
    {
        this.createtime = createtime;return this;
    }

    public VeStudyStudentHomework setStudentaccount(String studentaccount)
    {
        this.studentaccount = studentaccount;return this;
    }

    public VeStudyStudentHomework setStudentname(String studentname)
    {
        this.studentname = studentname;return this;
    }

    public VeStudyStudentHomework setStudentid(Integer studentid)
    {
        this.studentid = studentid;return this;
    }

    public VeStudyStudentHomework setHomeworkid(Integer homeworkid)
    {
        this.homeworkid = homeworkid;return this;
    }

    public int hashCode()
    {
        int PRIME = 59;int result = 1;Object $id = getId();result = result * 59 + ($id == null ? 43 : $id.hashCode());Object $nodeid = getNodeid();result = result * 59 + ($nodeid == null ? 43 : $nodeid.hashCode());Object $tcid = getTcid();result = result * 59 + ($tcid == null ? 43 : $tcid.hashCode());Object $homeworkid = getHomeworkid();result = result * 59 + ($homeworkid == null ? 43 : $homeworkid.hashCode());Object $studentid = getStudentid();result = result * 59 + ($studentid == null ? 43 : $studentid.hashCode());Object $createtime = getCreatetime();result = result * 59 + ($createtime == null ? 43 : $createtime.hashCode());Object $fileid = getFileid();result = result * 59 + ($fileid == null ? 43 : $fileid.hashCode());Object $score = getScore();result = result * 59 + ($score == null ? 43 : $score.hashCode());Object $status = getStatus();result = result * 59 + ($status == null ? 43 : $status.hashCode());Object $verifyfileid = getVerifyfileid();result = result * 59 + ($verifyfileid == null ? 43 : $verifyfileid.hashCode());Object $verifytime = getVerifytime();result = result * 59 + ($verifytime == null ? 43 : $verifytime.hashCode());Object $verifyuserid = getVerifyuserid();result = result * 59 + ($verifyuserid == null ? 43 : $verifyuserid.hashCode());Object $terminalid = getTerminalid();result = result * 59 + ($terminalid == null ? 43 : $terminalid.hashCode());Object $placeId = getPlaceId();result = result * 59 + ($placeId == null ? 43 : $placeId.hashCode());Object $studentname = getStudentname();result = result * 59 + ($studentname == null ? 43 : $studentname.hashCode());Object $studentaccount = getStudentaccount();result = result * 59 + ($studentaccount == null ? 43 : $studentaccount.hashCode());Object $verifyusername = getVerifyusername();result = result * 59 + ($verifyusername == null ? 43 : $verifyusername.hashCode());Object $remark = getRemark();result = result * 59 + ($remark == null ? 43 : $remark.hashCode());return result;
    }

    protected boolean canEqual(Object other)
    {
        return other instanceof VeStudyStudentHomework;
    }

    public boolean equals(Object o)
    {
        if (o == this) {
            return true;
        }
        if (!(o instanceof VeStudyStudentHomework)) {
            return false;
        }
        VeStudyStudentHomework other = (VeStudyStudentHomework)o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();Object other$id = other.getId();
        if (this$id == null ? other$id != null : !this$id.equals(other$id)) {
            return false;
        }
        Object this$nodeid = getNodeid();Object other$nodeid = other.getNodeid();
        if (this$nodeid == null ? other$nodeid != null : !this$nodeid.equals(other$nodeid)) {
            return false;
        }
        Object this$tcid = getTcid();Object other$tcid = other.getTcid();
        if (this$tcid == null ? other$tcid != null : !this$tcid.equals(other$tcid)) {
            return false;
        }
        Object this$homeworkid = getHomeworkid();Object other$homeworkid = other.getHomeworkid();
        if (this$homeworkid == null ? other$homeworkid != null : !this$homeworkid.equals(other$homeworkid)) {
            return false;
        }
        Object this$studentid = getStudentid();Object other$studentid = other.getStudentid();
        if (this$studentid == null ? other$studentid != null : !this$studentid.equals(other$studentid)) {
            return false;
        }
        Object this$createtime = getCreatetime();Object other$createtime = other.getCreatetime();
        if (this$createtime == null ? other$createtime != null : !this$createtime.equals(other$createtime)) {
            return false;
        }
        Object this$fileid = getFileid();Object other$fileid = other.getFileid();
        if (this$fileid == null ? other$fileid != null : !this$fileid.equals(other$fileid)) {
            return false;
        }
        Object this$score = getScore();Object other$score = other.getScore();
        if (this$score == null ? other$score != null : !this$score.equals(other$score)) {
            return false;
        }
        Object this$status = getStatus();Object other$status = other.getStatus();
        if (this$status == null ? other$status != null : !this$status.equals(other$status)) {
            return false;
        }
        Object this$verifyfileid = getVerifyfileid();Object other$verifyfileid = other.getVerifyfileid();
        if (this$verifyfileid == null ? other$verifyfileid != null : !this$verifyfileid.equals(other$verifyfileid)) {
            return false;
        }
        Object this$verifytime = getVerifytime();Object other$verifytime = other.getVerifytime();
        if (this$verifytime == null ? other$verifytime != null : !this$verifytime.equals(other$verifytime)) {
            return false;
        }
        Object this$verifyuserid = getVerifyuserid();Object other$verifyuserid = other.getVerifyuserid();
        if (this$verifyuserid == null ? other$verifyuserid != null : !this$verifyuserid.equals(other$verifyuserid)) {
            return false;
        }
        Object this$terminalid = getTerminalid();Object other$terminalid = other.getTerminalid();
        if (this$terminalid == null ? other$terminalid != null : !this$terminalid.equals(other$terminalid)) {
            return false;
        }
        Object this$placeId = getPlaceId();Object other$placeId = other.getPlaceId();
        if (this$placeId == null ? other$placeId != null : !this$placeId.equals(other$placeId)) {
            return false;
        }
        Object this$studentname = getStudentname();Object other$studentname = other.getStudentname();
        if (this$studentname == null ? other$studentname != null : !this$studentname.equals(other$studentname)) {
            return false;
        }
        Object this$studentaccount = getStudentaccount();Object other$studentaccount = other.getStudentaccount();
        if (this$studentaccount == null ? other$studentaccount != null : !this$studentaccount.equals(other$studentaccount)) {
            return false;
        }
        Object this$verifyusername = getVerifyusername();Object other$verifyusername = other.getVerifyusername();
        if (this$verifyusername == null ? other$verifyusername != null : !this$verifyusername.equals(other$verifyusername)) {
            return false;
        }
        Object this$remark = getRemark();Object other$remark = other.getRemark();return this$remark == null ? other$remark == null : this$remark.equals(other$remark);
    }

    public Integer getId()
    {
        return this.id;
    }

    public Integer getNodeid()
    {
        return this.nodeid;
    }

    public Integer getTcid()
    {
        return this.tcid;
    }

    public Integer getHomeworkid()
    {
        return this.homeworkid;
    }

    public Integer getStudentid()
    {
        return this.studentid;
    }

    public String getStudentname()
    {
        return this.studentname;
    }

    public String getStudentaccount()
    {
        return this.studentaccount;
    }

    public Integer getCreatetime()
    {
        return this.createtime;
    }

    public Integer getFileid()
    {
        return this.fileid;
    }

    public Integer getScore()
    {
        return this.score;
    }

    public Integer getStatus()
    {
        return this.status;
    }

    public Integer getVerifyfileid()
    {
        return this.verifyfileid;
    }

    public Integer getVerifytime()
    {
        return this.verifytime;
    }

    public Integer getVerifyuserid()
    {
        return this.verifyuserid;
    }

    public String getVerifyusername()
    {
        return this.verifyusername;
    }

    public Integer getTerminalid()
    {
        return this.terminalid;
    }

    public String getRemark()
    {
        return this.remark;
    }

    public Integer getPlaceId()
    {
        return this.placeId;
    }
}
